

const mysql = require('mysql2/promise');

const con = mysql.createPool({
  host: 'localhost',
  user: 'root',
  password: 'qwerty123.aA%!',
  database: 'baiguoyuan'
})

class Result {
  constructor() {
    this.code = 200;
    this.msg = 'ok';
    this.data = null
  }
}
const key = {
  sdkappid: '1400458473',
  key: '45488157c1da0075687d5233cba695604f04c906f5c04330e6e39bc2d3c2fd81'
}

const admin = {
  identifier:'13739793056',
  usersig:'eJwtzMEKgkAUheF3mW1h15m5TiO0CdrEUJFSFG6KmeRmhqiZEL17pi7Pd*D-sNhEXuNKFjLuAZv2m6x71nSjnn2hhFZaAOJ4Vza7FAVZFvoSQOJcKjE8ri2odJ0jIgeAQWvK-xaACpBrn48VSrv6af3a5sns3O74EfeVukNExuhG6okwzSZLzfsaLx8H4-LVgn1-svExrQ__'
}

module.exports = { con, Result, key ,admin};
